package com.linln.modules.system.vo.admins;

import java.math.BigDecimal;

public class AdminUserBillVo {

    private String selNum;

    // todo id
    private String id;
    // todo 昵称
    private String nickName;
    // TODO 提交时间
    private String createTime;
    // 凭证预览
    private String imageUrl;
    // 数组状态
    private int states;
    // str 状态
    private String status;
    // 消费金额
    private BigDecimal amount;
    // 凭证单号
    private String oldCode;
    // 原因
    private String reason;

    private String userId;

    private String companyName;

    private String prodName;

    private String phone;
    private Integer points;

    public Integer getPoints() {
        if(this.amount == null){
            return 0;
        }else{
            return amount.intValue();
        }

    }

    public AdminUserBillVo setPoints(Integer points) {
        this.points = points;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public AdminUserBillVo setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public int getStates() {
        return states;
    }

    public void setStates(int states) {
        this.states = states;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getOldCode() {
        return oldCode;
    }

    public void setOldCode(String oldCode) {
        this.oldCode = oldCode;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getSelNum() {
        return selNum;
    }

    public void setSelNum(String selNum) {
        this.selNum = selNum;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }
}
